﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows.Forms;
using FreeBitExcel.service;
using log4net;

namespace FreeBitExcel
{
    static class Program
    {
        public static LogReader Reader { get; } = new LogReader();
        public static ILog Logger => LogManager.GetLogger(typeof(Program));
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            try
            {
                Application.Run(new MainForm());
            }
            catch (Exception e)
            {
                Logger.Error("异常:"+e.Message);
            }
            finally
            {

            }


        }
    }
}
